<?php

// phpMyRealty 3
//
// File Name: config.php
// File Location : ./
//
// Copyright (c)2009 phpMyRealty.com
//
// e-mail: support@phpMyRealty.com

//---------------------------------------------------------------------------//
//	
//
//				INSTALLATION GUIDE AVAILABLE AT:
//					http://www.phpmyrealty.com/guide.html
//
//
//---------------------------------------------------------------------------//



//----------------------------------------------------------------------------
//	STEP 1 -- ENTER YOUR LICENSE KEY
//
// 	NOTE: PLEASE MAKE SURE LICENSE KEY DOES NOT HAVE SPACES, LINE BREAKS, ETC.

define('LICENSE', 'PMR5943E88DAA2A5BDA73360C8BF060BE34F1DF412C0F119576E6E4C284235E21C06E9A7A75F1BD48771251'); // No line breaks, spaces, etc.



//----------------------------------------------------------------------------
//	STEP 2 -- ENTER IN YOUR URL
//
//	NOTE: YOUR URL SHOULD BE IN THE FORMAT http://www.domain.com UNLESS YOU ARE
//			USING A SUB DOMAIN. THE http://www. is required. Please see examples.
//
//	CORRECT: http://www.domain.com
//	CORRECT: http://realestate.domain.com
// 	CORRECT: http://www.domain.com/realestate (if you are installing it in 'realestate' directory
// 	INCORRECT: http://domain.com
//  INCORRECT: http://www.domain.com/ (no trailing slash)

define('URL' , 'http://www.accesshome.com.au/realty'); // No trailing slash



//----------------------------------------------------------------------------
//	STEP 3 -- INSTALLATION DIRECTORY
//
//	NOTE: LEAVE THIS BLANK UNLESS YOU ARE NOT INSTALLING THE SOFTWARE IN THE ROOT
//			DIRECTORY. FOR EXAMPLE, IF YOU ARE INSTALLING IT IN THE REALESTATE DIRECTORY,
//			YOU WOULD ENTER IN /realestate. PLEASE SEE EXAMPLES.
//
//	CORRECT: $install_folder = ''; (if in main directory)
//	CORRECT: $install_folder = '/realestate'; (if in realestate directory)
//	INCORRECT: $install_folder = 'realestate/'; (the / is in the wrong spot)
//	INCORRECT: $install_folder = 'realestate'; (the / is missing)

$install_folder = '/realty';



//----------------------------------------------------------------------------
//	STEP 4 -- ZEND OR IONCUBE
//
//	NOTE: YOUR WEB HOSTING SERVER MUST SUPPORT EITHER ZEND OR IONCUBE. IF YOU DO NOT
//		KNOW, PLEASE CONTACT YOUR HOSTING PROVIDER.
//
//	IF YOUR HOST DOES NOT HAVE EITHER, YOU WILL RECEIVE AN ERROR MESSAGE ABOUT ZEND GUARD
//		OR IONCUBE. CONTACT YOUR WEB HOST FOR ASSISTANCE AS THIS IS A SERVER ISSUE.

$encoder = 'Z'; // 'Z' for Zend and 'I' for Ioncube



//----------------------------------------------------------------------------
//	STEP 5 -- MYSQL DATABASE INFORMATION
//
//	PLEASE ENTER IN YOUR DATABASE INFORMATION BELOW. YOUR WEB HOSTING PROVIDER
//		WILL BE ABLE TO ASSIST YOU WITH THIS.

$dbi['sql_dbname']		= 'access_realty';	// Database name
$dbi['sql_username']	= 'access_realty';	// Database username
$dbi['sql_password']	= '99.$1L{{AHOb'; 	// Database password

// You shouldn't have to modify these, unless your server uses a specific host (e.g., mysql.domain.com)
$dbi['sql_host']		= 'localhost'; 	// Database host - normally this is 'localhost'
$dbi['sql_type'] 		= 'mysql'; 		// Database type - leave to 'mysql'



//----------------------------------------------------------------------------
//	STEP 6 -- PATH TO YOUR DIRECTORY
//
//	NORMALLY, YOU WILL NOT NEED TO CHANGE THIS. HOWEVER, IF YOU ARE RECEIVING NOT FOUND
// 		ERRORS, PLEASE LOOK AT THE EXAMPLES AND ENTER THIS IN MANUALLY.
//
// 	PLEASE NOTE, THESE ARE ONLY EXAMPLES. YOUR PATH WILL BE DIFFERENT.
// 
//	CORRECT: define('PATH', '/home/username/public_html');
//	CORRECT: define('PATH', '/home/username/www/domain.com');
//	INCORRECT: define('PATH', '/home/username/public_html/'); (the trailing / should not be there)

define('PATH', $_SERVER['DOCUMENT_ROOT'] . $install_folder);









// THAT'S IT! PLEASE LOAD YOUR WEB SITE TO CONTINUE THE INSTALLATION PROCESS!










//---------------------------------------------------------------------------//
//	
//
//				ADVANCED SETTINGS BELOW -- ADVANCED USERS ONLY!
//
//
//---------------------------------------------------------------------------//



//----------------------------------------------------------------------------
//	PHPMAILER CLASS SETTINGS
//
//	NORMALLY, YOU WILL NOT NEED TO CHANGE THIS. HOWEVER, IF YOU ARE HAVING PROBLEMS
//		SENDING OUT E-MAILS WITH YOUR WEB SITE, YOU MAY WANT TO TRY MODIFYING THIS.
//
//	1 - standard mail() function (default)
//	2 - sendmail
//	3 - SMTP or Gmail

define('PHPMAILER', '1');

//	If you are using option '3', you must enter in the following:

$smtp['host'] = 'https://accesshome.com.au:2096';		// SMTP server host name
$smtp['login'] = 'realty@accesshome.com.au';		// SMTP server login
$smtp['password'] = 'eNfNnv@%}unH';		// SMTP server password



//----------------------------------------------------------------------------
//	ADMINISTRATION PANEL IP RESTRICTION
//
//	NORMALLY, YOU WILL NOT NEED TO CHANGE THIS. HOWEVER, IF YOU WISH TO PROTECT
//		YOUR ADMINISTRATION PANEL BY RESTRICTING IP ADDRESS ACCESS, DO SO HERE.
//
//	Leave empty to allow all IPs, delimit IPs with ;
//
//	CORRECT: $admin_ip = '127.0.0.1';
// 	CORRECT: $admin_ip = '127.0.0.1;192.168.0.1';
// 	CORRECT: $admin_ip = '127.0.0.*;192.168.*';
//	CORRECT: $admin_ip = 'XX.XX.*';
//	INCORRECT: $admin_ip = 'XX.XX.*.*';

$admin_ip = '';



//----------------------------------------------------------------------------
//	DATABASE TABLE PREFIX
//
//	Useful if you want to have more than one PMR installation running inside
//		the same database.
//

$table_prefix = 'pmr_';



// Please, do not edit code below.
define('CONFIGURATION_TABLE', $table_prefix.'configuration');
define('USERS_TABLE', $table_prefix.'users');
define('PROPERTIES_TABLE', $table_prefix.'properties');
define('LOCATIONS_TABLE', $table_prefix.'locations');
define('LOCATION1_TABLE', $table_prefix.'location1');
define('LOCATION2_TABLE', $table_prefix.'location2');
define('LOCATION3_TABLE', $table_prefix.'location3');
define('TYPES_TABLE', $table_prefix.'types');
define('TYPES2_TABLE', $table_prefix.'types2');
define('STYLES_TABLE', $table_prefix.'styles');
define('GALLERY_TABLE', $table_prefix.'gallery');
define('BUILDINGS_TABLE', $table_prefix.'buildings');
define('APPLIANCES_TABLE', $table_prefix.'appliances');
define('FEATURES_TABLE', $table_prefix.'features');
define('BASEMENT_TABLE', $table_prefix.'basement');
define('GARAGE_TABLE', $table_prefix.'garage');
define('ADMINS_TABLE', $table_prefix.'admins');
define('PRIVILEGES_TABLE', $table_prefix.'privileges');
define('RATINGS_TABLE', $table_prefix.'ratings');
define('FEATURED_TABLE', $table_prefix.'featured');
define('FEATURED_AGENTS_TABLE', $table_prefix.'featured_agents');
define('PACKAGES_TABLE', $table_prefix.'packages');
define('PACKAGES_AGENT_TABLE', $table_prefix.'packages_agents');
define('ONLINE_TABLE', $table_prefix.'online');
define('CRON_TABLE', $table_prefix.'cron');
define('BANS_TABLE', $table_prefix.'ban');
define('ALERTS_TABLE', $table_prefix.'alerts');
define('PAGES_TABLE', $table_prefix.'pages');
define('ZIP_TABLE', $table_prefix.'zip');
define('STATUS_TABLE', $table_prefix.'status');
define('FIELDS_TABLE', $table_prefix.'fields');
define('VALUES_TABLE', $table_prefix.'values');

// Do not change the following lines please
define('VERSION', '3.4.0');
$slideshow = '1';

?>